package org.pounds.service;

import org.pounds.pojo.User;
import org.pounds.pojo.UserInfo;

import java.util.List;

public interface UserService {
    List<User> loopAllUser();
    String register(String username,String account,String password);
    String login(String account,String password);
    List<UserInfo> GetUserInfo(String account);
    String SetUserInfo(String username,String account,String sex,int age,String introduce);
    String ChangePassword(String account,String old_password,String new_password);
    String changeCollect(String account,String collect);
}
